<script setup>
import { RouterLink, RouterView } from 'vue-router'
</script>

<template>
  <nav>
    <RouterLink to="/">推荐节目</RouterLink>
    <RouterLink to="/music">音乐</RouterLink>
    <RouterLink to="/reload">下拉加载</RouterLink>
    <RouterLink class="wyy" to="/wyygg">网易云</RouterLink>
  </nav>
  <RouterView />
</template>
<style scoped lang="stylus">
nav
  height 40px
  background:#c20c0c
  text-align: center;
  a
    color:#fff
    text-decoration: none;
  .wyy
    float right
</style>
